package com.my.hotel.service.impl;

import com.my.hotel.entity.Order;
import com.my.hotel.mapper.OrderMapper;
import com.my.hotel.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderMapper orderMapper;

    public List<Order> getOrderList() {
        return orderMapper.getOrderList();
    }
}
